package com.krt.facenettydemo;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Unique;

/**
 * @author hyj
 * @time 2019/9/5 10:27
 * @class describe
 */
@Entity
public class IdentityInfo {

    @Id(autoincrement = true)
    Long id;

    private String name;
    private String sex;
    private String nation = null;
    private String born;
    private String address;
    private String apartment;
    private String period;

    @Unique
    @NotNull
    private String no;
    //    private byte[] head_photo;
    private String country;
    private String cn_name;
    private String idcard_version;
    private String card_type;
    private String reserve;
    private String passNum = null;
    private String issuesNum = null;
    private String cardSignal = null;
    private String lastVerTime = "1999-01-01 01:00:00";

    public IdentityInfo() {
    }


    @Generated(hash = 392645306)
    public IdentityInfo(Long id, String name, String sex, String nation,
            String born, String address, String apartment, String period,
            @NotNull String no, String country, String cn_name,
            String idcard_version, String card_type, String reserve, String passNum,
            String issuesNum, String cardSignal, String lastVerTime) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.nation = nation;
        this.born = born;
        this.address = address;
        this.apartment = apartment;
        this.period = period;
        this.no = no;
        this.country = country;
        this.cn_name = cn_name;
        this.idcard_version = idcard_version;
        this.card_type = card_type;
        this.reserve = reserve;
        this.passNum = passNum;
        this.issuesNum = issuesNum;
        this.cardSignal = cardSignal;
        this.lastVerTime = lastVerTime;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getBorn() {
        return born;
    }

    public void setBorn(String born) {
        this.born = born;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getApartment() {
        return apartment;
    }

    public void setApartment(String apartment) {
        this.apartment = apartment;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getCn_name() {
        return cn_name;
    }

    public void setCn_name(String cn_name) {
        this.cn_name = cn_name;
    }

    public String getIdcard_version() {
        return idcard_version;
    }

    public void setIdcard_version(String idcard_version) {
        this.idcard_version = idcard_version;
    }

    public String getCard_type() {
        return card_type;
    }

    public void setCard_type(String card_type) {
        this.card_type = card_type;
    }

    public String getReserve() {
        return reserve;
    }

    public void setReserve(String reserve) {
        this.reserve = reserve;
    }

    public String getPassNum() {
        return passNum;
    }

    public void setPassNum(String passNum) {
        this.passNum = passNum;
    }

    public String getIssuesNum() {
        return issuesNum;
    }

    public void setIssuesNum(String issuesNum) {
        this.issuesNum = issuesNum;
    }

    public String getCardSignal() {
        return cardSignal;
    }

    public void setCardSignal(String cardSignal) {
        this.cardSignal = cardSignal;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLastVerTime() {
        return lastVerTime;
    }

    public void setLastVerTime(String lastVerTime) {
        this.lastVerTime = lastVerTime;
    }
}
